server {
    listen 8080;

    access_log /var/log/nginx/access.log;
    error_log /var/log/nginx/error.log;

    location /api {
        proxy_pass http://act-device-api:8080;
    }

    location /swagger/ {
        proxy_pass http://swagger-ui:8080/;
    }
}
